What’s causing the swarms of gnats?

The small flying insects are seemingly everywhere.