My brother’s yard and mine positively swarm with fireflies. More than I remember as a child. It’s because we don’t mow our yards much, and we allow large patches of wild local prairie like plants. Our neighboring yards have almost no insect life at all. So yes, our obsession with trim, grass lawns is a big problem.
The weird thing is I grew up in a neighborhood with obsessively trimmed grass. There was still no shortage of fireflies 30 years ago.
While our monoculture lawns are certainly part of the problem, it seems there's more to it than that. They are losing on multiple fronts including our chemical warfare on the local environment and various climate change related issues.