Unfortunately in an effort to be "smart", many phones have features that will effectively override your settings. Since you have an iPhone, take a look at the WiFi Assist setting. If it's enabled, it could be the culprit. This is from the Apple Suppo...