Consider that pulling air out will also rarefy (thin) the air in the enclosure. Pushing air into it has the opposite effect, making the air inside even denser. Denser air will cool better.
I wonder if that has a measurable effect. The static pressure produced by a typical cooling fan is pretty low, I don't think it is capable of compressing the air to any meaningful degree but perhaps it does have some small impact.
The pressure differential is minimal –– we're talking about less than 4 mmH
2O, i.e. less than 40 Pa, or 0.04% of the nominal atmospheric pressure of 1 bar, with typical quiet 120mm or larger fans.
At the upper part of the range, it is just enough to reduce the amount of dust collecting inside the enclosure a bit.
I've built a few PC enclosures myself, and the difference is just big enough so that you want to have more forced airflow (fans) blowing in than out. If you arrange for turbulent airflow inside the enclosure using baffles, you can actually keep surfaces clean of dust. For example, 140x140x25mm Noctua NF-A14 PWM can generate about 2mmH
2O pressure, i.e. 20 Pa over ambient, moving 80 CFM or 140 m³/h, while generating less than 25 dBA measured at 1 meter distance. Bloody expensive, but among the best 140mm 12V fans at of May 2023.
Anything higher, and we're talking about fans that necessarily generate 40 dBA or more noise at 1m distance.