Phones switch to mobile data when Wi-Fi is weak or unstable.You can turn off automatic switching on iPhone and Android and limit cellular data usage.
Read More
2 hrs ago
Why does your phone keep switching between Wi-Fi and mobile data? - Engadget