The parts that fail, in order
An electric storage tank is a simple machine: one or two elements, a thermostat for each, a high-limit switch, and a supply. The failures are just as simple.
The element. An element that has scaled up cannot transfer heat efficiently; one that has cracked or shorted trips the breaker or blows the high-limit. A lower element that has failed leaves the top of the tank hot and the rest cold, which is why the shower goes cold so fast.
The thermostat. A thermostat that reads wrong keeps the tank too cool or lets it overheat until the high-limit cuts out. Reset it once, and if it pops again, the thermostat or the element is the reason.
The breaker and wiring. A loose connection at the heater, a burnt wire nut or an undersized breaker produces intermittent faults that look like element failures. Those get inspected, not assumed.
The tank. Sediment, corrosion and a spent anode rod end the unit regardless of the electrics.
Why "just reset it" is not a diagnosis
The red reset button is a safety device, not a fix. It trips because something got too hot: a failed thermostat, a dry-fired element after a supply interruption, or a short. Pressing it back and walking away works until it trips again, which is usually the day you have guests.
Working safely
An electric heater has 240 volts at the elements even when the thermostat is satisfied. The breaker comes off before anything is opened, the tank is confirmed de-energised, and the element is only disturbed once the water is drained below its level. A dry element powered for even a minute is scrap.
When repair stops making sense
Elements and thermostats are affordable repairs on a sound tank. Once the shell is weeping, the base is rusting through or the tank is heavily scaled, the electrical work is throwing parts at a unit that has already decided its end date.