They are not piped in series, so it does not make sense that they would be using one as a pre-heater.
The home served as a tax office at one time. I am not sure if it was owned or rented. My thinking is that they used the 2.5 gallon heater during this time and bypassed the 30 gallon for energy efficiency reasons. They did not want to get rid of the 30 gallon for when it was once again used for residential. To add another twist to it, the 30 gallon heater is 3 years newer than the 2.5 gallon.
Does my speculation seem plausible or am I way off?
Hard to say, but shouldn’t use PVC on those TPRV fittings. The pipe itself might be CPVC though, which is ok to use, lol. Or maybe the pipe is also PVC, but just really dirty.
My suspicion is that the parallel configuration allows the occupant to use one or the other or both water heaters at the same time to meet current low or high needs / save energy.
You can turn the water off to the bigger tank and save some money, depending on needs. Am I right? Tax offices are used seasonally, often with a skeleton crew off season.