Buck regulator AOZ1014 getting burned
From the dataset, the AOZ1014 has a Vin range from 4.5V to 16V. make sure that your Vin is in this range. But the AOZ1014 has some protection features like an OCP to protect your circuit from over current by comparing the voltage of the COMP pin which is proportional to the peak inductor current and shut down your circuit is case of overcurrent, make sure that you use the appropriate values of RC and Cc.