Why does my phone interrupt my connection

So as the title says, when I’m at my gaming system there will be time where I’ll take a loot at my phone for a couple seconds and notice my connection on the game is bad so naturally I will turn the wifi off on my phone and when I do that it turns the wifi on my console completely off It doesn’t always happen but it happens often enough for me to want it to never happen again Can anyone explain why this happens and how I can prevent it from happening