Question: why are gnats on my dog?
Answer: Dogs are prone to rolling in smelly things, so if he's covered in the smell of compost, gnats will naturally be attracted to him. ... Bright lights will also attract gnats, which is why you may see more gnats flying around at night.