What a failing element feels like
Gas water heaters here use a burner at the bottom of the tank, not an electric element, but the sediment problem is the same. Well water and city water both carry minerals, and over years they settle to the bottom of the tank. That layer sits between the burner and the water, so less heat actually gets through. The tank still fires the same as always. It just can't bring a full tank up to temperature before the burner shuts off, which is why the hot water runs out faster than it used to.