STM32G0 reseted after GPIO interrupt happened

I'm using gpio interrupt inside there
void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin){
static uint32_t push_time;
if(GPIO_Pin == IS_FUSED_Pin){
pin_int_now = HAL_GetTick();
if(fuze_push_time + DEBOUNCE_INTERVAL < pin_int_now){
LED_Green_On();
fuze_push_time = pin_int_now;
state = FUSED;
}}}
Inside while(1) mostly HAL_Delay(5);
ISSUE: some times during pin interrupt happened chip looks like reseted.
Gess some error happened and chip reseted. How can debug it and find the reason?
