Run the cold tap alone for two minutes, then the hot alone. Brown on hot only points at the water heater. Brown on cold only points at supply piping or the utility main. Brown on both usually means the service line or the municipal supply.
Rust colored hot water almost always means the sacrificial anode rod inside the tank has been consumed and the steel tank itself is now corroding. Flushing may clear it temporarily. If the tank is over ten years old, this is a strong signal to plan a replacement before it leaks.
Galvanized steel pipe rusts from the inside out. Homes built before the 1960s across California often still have original galvanized runs. Brown water on first use in the morning, clearing after a minute, is the classic symptom, usually alongside falling pressure.
If it started abruptly and neighbors have it too, a hydrant flush or a main break has stirred up sediment in the municipal system. Run an outside tap for a few minutes and it normally clears. Avoid doing laundry until it does, because rust stains fabric.
Iron and manganese sediment is unpleasant and stains laundry and fixtures, but is not usually a health hazard by itself. Persistent discoloration from your own pipes is worth resolving, both because it signals pipe deterioration and because those deposits harbor bacteria.
If it is the heater, get the tank assessed. If it is galvanized pipe, get a repipe quote, because the pipe will not improve and pressure will keep falling. If it is the utility, wait it out and note the date in case it recurs.
A real plumber, a flat-rate quote, any hour of the day.