On Android phones if you turn on the HotSpot, the phone's WiFi will disconnect. That's by design. Because if you are allowing other devices to connect to your phone via HotSpot, the phone's own WiFi must shut off. Otherwise it's just a network relay/bridge and not a HotSpot.