Short hot water in a tower unit is either a fault or a mismatch. The history tells you which: a household whose hot water used to last and now does not has a failing part, while a household that has never had enough has a capacity or demand problem.
If it changed
Something mechanical has given way, and the shape of the complaint narrows it down. Hot water that arrives properly and then collapses points at the lower half of the tank, where the element may have failed while the upper one continues to satisfy the thermostat. Hot water that is warm from the first draw points at a control that has drifted or a dip tube that is no longer delivering cold water to the bottom of the vessel. A tank that is slow to recover at the same setting has probably filled with scale.
These are proved at the unit, not at the tap. The dip tube and the lower element produce similar complaints, and a repair aimed at the wrong one changes nothing.
If it never lasted
Apartment closets often hold a compact tank. Two showers, laundry and a dishwasher in the same hour can exhaust it. The options are to stagger demand, to fit low-flow fixtures, or to replace the unit with one that has a higher first-hour rating — if the closet and the vent allow it.
Sizing by first-hour rating is more useful than comparing gallon figures, because it reflects what the unit can deliver during the busiest hour.
Delivery versus capacity
A long riser run delays hot water but does not consume it. If the water arrives after a wait and then lasts as it should, the complaint is delivery. A recirculation arrangement may help, where the building and the unit allow one.
Working in a closet
Access shapes the visit. The cover comes off, the controls and elements are tested in place, and the dip tube is examined where the model leaves it reachable. Sediment is judged by draining a little from the bottom, which on these units tells you more than listening for popping ever will.
The demand question is asked properly: how many people, how many bathrooms, whether laundry runs in the same hour. If a larger unit is the answer, the closet, the vent and the building's riser capacity decide whether it can be fitted at all, and that is checked before a recommendation is made rather than after.