Rising temperatures are leading to declining insect populations, according to a recent study done on fruit flies.