In the nitration, why fluorobenzene has less products in the ortho position than Clorobenzene?
Halogens are deactivating groups even though they show $+M$ mesomeric effect. The inductive effect is stronger than mesomeric effect. As the halogens show $-I$ inductive effect, they are deactivating groups.

When it comes to selectivity, the mesomeric effect plays a role. As the halogens show $+M$ mesomeric effect, the resonance structure has higher electron density at ortho and para positions. Therefore, halogens are ortho-para directing.

When you take inductive effect into account for its directing properties, the para position is more favorable for electrophilic reagents because it has a higher electron density compared to the ortho position. The strength of the inductive effect decreases with distance. As the ortho position is closer to the halogen, the inductive is stronger at this position. Therefore, the major product for electrophilic substitution reactions for haloarenes is the para-substituted product.

Fluorine is more electronegative than chlorine and shows a higher tendency to withdraw electrons towards itself than chlorine. Therefore, fluorine shows a stronger inductive effect than chlorine. As fluorine reduces the electron density at the ortho position more than chlorine, you get a lesser amount of ortho substituted product with fluorine.