Anode Rod replaced but short on hot water
Check the dip tube on the cold inlet.
The dip tube directs the incoming cold water down to the flame, if the dip tube is missing or fell off then the cold water coming in stays on top of the hot water and you're getting the cold water from the top and the hot water stays at the bottom and not coming up into the pipes.