My wifi keeps randomly disconnecting and reconnecting
This used to happen on my iPad 10th gen first not my iPhone, but I switched my iPhone and I have a iPhone 14 now. At first on my iPad it would just happen every so often and I would disconnect for a few seconds/~20 seconds. But now, over the past couple of days my iPhone and iPad have been disconnecting quite regularly. When it disconnects, it doesn't just disconnect and I go to wifi tab in settings and rejoin, it disappears from the wifi tab for a few seconds, usually anywhere from 3-15 seconds, and I'm really confused why. I think it may be my device since I went on family trip and used a different house's wifi and my iPad still disconnected as it would. I doubt it's a virus since I've read iOS can't get viruses. There are also other devices in the household that don't have this issue. On my laptop this has never happened, and never happens to my family members either. What can I do to fix this? What is it?
iPhone 14, iOS 17