Answer:
Step-by-step explanation:
There are many processes where the system moves towards higher energy.
For example melting of ice is a spontaneous process . In this process ice melts on gaining heat energy from surrounding . So its energy increases . Still it is a spontaneous process .