Hi There,
This is expected behaviour per default settings. You can change the timer, but 2 hours is the default if the AP cannot reach the controller for it to reboot itself in an attempt to resolve connectivity issues.
You should be able to change this in the controller, under access point group configuration. AP Reboot Timeout.
Cheers,