Why does Find My iPhone need to be disabled before restoring an iPhone?
Disabling Find My iPhone is required because otherwise someone could steal a phone and wipe it, and the owner wouldn't be able to do anything about it. When you disable Find My iPhone, it requires your Apple ID and password.