Which indicates it's an enforcement problem, which can be solved by more thorough checking, gates that read/charge, or just giving up and declaring that everyone "living in the city" gets a pass.
I've often suspected that metro fares are basically an excuse for the cops to kick bums/undesirables off the train.
Enforcement is also nearly nonexistent, and I expect it's even more nonexistent since COVID started. In 12 years of riding transit in SF, I've only once witnessed a group of transit employees board a bus to check that everyone had paid. Anyone who rides transit frequently (and doesn't pay) is likely saving money even if they have to pay the vanishingly rare fine if they're caught.