I would bet on a hardfault.
Or a lockup, when such a fault occurs in a fault handler.
> Kindly guide us to avoid freeze issue. Also kindly tell what are the possible reasons may besides these freeze issue
As almost, the firmware.
You can attempt to provoke such an occurence in debug mode, or try to attach with the debugger to the "running" system when it occured.