The phosphate groups, which are the main constituents of ATP are negatively charged, causing a repulsion, which contributes to instability at that end of the molecule. Therefore this molecule is like a compressed spring. So that the energy released from its hydrolyses is sufficient.