Have iPhone which is connected to WiFi network which doesn't have access to internet. iOS apparently detects that there is no internet and tries to disable WiFi for a short period of time and connect to 4G.
Noticed it because iPhone is connected to AirPlay device and music is stopped every ~15 minutes and when I check the connection I see 4G, but not WiFi.