Why is water flowing into my hot water tank from the output pipe?
This is just a guess, but you're probably only seeing existing hot water in your house's pipes flow back to the water heater, since there's none of the resistance that the full tank of water can provide.