The first cause is particle size. Larger zinc or titanium particles scatter visible light and leave a grey film. Milling finer and using a coated grade reduces it, at the cost of some UVA efficiency that has to be recovered elsewhere.
The second is filter load. A mineral-only SPF 50 needs a lot of powder, and a lot of powder on deep skin reads ashy no matter how fine it is. Adding a tint — iron oxides — is the single most effective fix, because it replaces the grey with the skin's own tone.
The third is the base. A high-silicone, low-oil base spreads the powder more evenly; a rich cream drags and pools in texture. The fourth is application: too much product, rubbed in too little. The fifth is photography — a cast that looks acceptable in a bathroom mirror can be obvious in daylight.