What causes an engine to run lean

not in my case. my primary o2 sensor was bad and it was telling my car it was running lean. my car then overcompensated and started dumping fuel into the cylinders. my gas mileage went from about 28mpg to 21mpg. my car also ran like shit, rough idle, poor performance, etc…

possible causes for a car running lean…bad o2 sensor, fuel pressure regulator, clogged/dirty fuel filter, dirty injectors.