Designing a Peristaltic Pump Driver with IRFZ44n Mosfet
Turns out, as Colin suggested. I should have added a decoupling capacitor on my voltage source to prevent brown out. So, here is my updated schematics in case someone needs it in the future: