Toyota Yaris 2011 engine starts braking on increases

Good evening, today after 1h driving on the highway I drove down from this and at a traffic light which was on a hill (so you have to drive down a hill) stopped. After I slowed down, the engine went out and the following control lights went on: battery, oil indicator, engine control light and another yellow light on the top right. After I started the car again everything went off perfectly – engine also n The same thing just happened at a traffic light that was at the bottom of the mountain. The battery is new and the alternator was changed 3 years ago. Can one of you help me? I’m very desperate because the car doesn’t cause any problems – just on the slope. Thank you for your help!