What can be microcontroller resets causes?
1-It might be missing decoupling capacitors or their layout (far from uC) or their values. check out hardware design consideration ATmega

2- make sure the reset pin is pulled up correctly.  Recommended reset connection

3- check out BOR , POR and Watchdog settings.