12V Pump not working
It sounds very likely that your power supply is not able to provide enough current for the fan and the pump while maintaining proper supply voltages for the computing parts of the design. It's as simple as that.

You haven't provided a schematic or links to the datasheets for your components so more detailed help is not possible.