It is because the mobile phone network signal is not good or the mobile phone's own system network settings are chaotic, which leads to the bad signal when connecting to the wireless.
You can try to turn the airplane mode on and off and see if you can solve the problem. Running too many programs on the mobile phone will also affect the signal problem. Try to clean the phone.