Engine overheating from low fuel

I’m no chemistry major, but for some reason, a lean burning mixture leads to high combustion temperature. So low fuel can possibly lead to overheating.