LM7805 circuit not working when 12V source is also driving another load
is there a heat sink on the regulator? use a vice grip if not. double check your grounds. replace the regulator. check the power source. use am amp probe and a scope. inspect the pump for odd components or something you might not expect.