Those are the steps outlined by Google. You can see what Google's Gemini says
here.
Let's see what we can figure out through troubleshooting.
Sometimes issues are caused by bad apps. One tool that can be used to decide if it is the device or an app is testing in Safe Mode. For this test restart the phone in Safe Mode by pressing and holding the side key until the 4 options appear, press and hold power down until the option to start in Safe Mode appears, then tap that and allow the phone to restart. From here do whatever you're doing to test if you have mobile data while wifi is enabled. What is the result?
If the device acts predictably, that would point to this being an issue with an app. If the device still acts up, this would indicate that the issue is either part of the OS or an issue with the hardware.
App side;
Do you have any "saver" or Virus apps? Data saver, Memory saver, anti malware, anti virus, or battery saver?
Device side;
Has the phone been dropped, submerged or taken any other physical blow or possible damage?
If the phone still acted up in Safe Mode, it could be a cache issue after some update. To clear the partition cache, fully power down the phone. Hold the Vol+ button while holding the power button to restart. When the Samsung screen appears release the power button but continue to hold the Vol+ button until the phone fully starts up. On the bootloader screen use the Vol buttons to navigate, select wipe cache partition by pressing the power button when highlighted. Then reboot normally and test.
Let us know what you find.