how are you "turning WiFi off" ?
1 swiping up to get Control Center, then touching WiFi
2 Settings/WiFi/ and swiping the control to off
1 disengages current WiFi network, temporarily, but leaves WiFi still switched on
2 will definitely turn off all WiFi and will not turn back on without you actually going back into Settings/WiFi and turning WiFi back on