Replace water heater breaker, and water heater wasn’t feeding power out on one side of 240v breaker. Found that the black wire was melting and burning right on the breaker and cutting power in and out causing water heater to not work properly. Replaced the breaker and cleaned up wire and tested everything and everything is working with no issues.