There could be a number of reasons but the most likely reason is that the battery is dead. This means that when the power supply is cut, there is no back up in place. If this is the case you need to have it replaced by an alarm engineer (and a service is probably a good idea).