Look for a loose or cracked fitting, or line on the input side of the pump. It could be sucking air into the line allowing the water to flow back to the tank.
Rich and Joyce
2018 Jayco Jay Flight 21QB
2012 Ford F150 4X4 Supercrew EcoBoost
Reese Strait-Line Dual Cam Hitch
Amateur Radio K3EXU