Four possibilities, and in a tight installation the water rarely stays where it lands.
One: a valve
The drain valve seat fails first on most tanks. It drips, the base stays wet, and the stain looks like a shell failure.
Two: a connector
Supply nipples and flex connectors age with heat. Water runs down the jacket and pools at the bottom.
Three: the pan or the drain line
A pan that cannot drain is a bathtub. Check the outlet before blaming the heater.
Four: the shell
Water from the body or base seam that continues with the inlet closed, with rust. Finished.
The test
Shut the inlet, towel everything dry, then leave it twenty minutes. Then work back through the pan outlet, the valves and the connectors.
Consequences in a close-built house
Water in a closet reaches flooring and framing. Water in an attic reaches the ceiling below. Acting on a small leak is cheaper than repairing what it soaked.
If the tank has gone
Replacement is planned work: Riverside County permit, venting, strapping, and a route measured before the unit is ordered.
What to have ready
Location, hot or cold, inlet test, age.