We cannot answer "why" questions here. Apple does or does not do as they please, and we cannot speculate.
But it certainly does make sense to have Find My iPhone turned off while being repaired for at least these two reasons:
- There is no need to broadcast the iPhone's location.
- Find My iPhone must be turned off to do an iOS restore or recovery.