In most Southern California jurisdictions, replacing a water heater requires a permit. This surprises homeowners every week, right up until they try to sell the house and someone asks about it.
A water heater is a pressurized vessel with a gas connection or a high-amperage circuit, sitting in a house where people sleep. The permit exists to confirm it was installed so it will not become a story on the news.
It can surface during a sale, an insurance claim, or a home inspection, and the correction lands on whoever owns the house at that moment. The permit is cheap compared to the retrofit and the awkward conversation.
"Is the permit included in this price?" If the answer is vague, that is your answer. A contractor who pulls permits will happily say so.
Usually yes. Requirements vary, so ask your local building department.
Normally the contractor doing the work.
Sometimes, if the heater connections are in the scope. Ask specifically.
Permitted work, inspection included. Call (855) 613-5056.