This is best explained in terms of the frustration-aggression principle, or the principle that when a person's frustration goes up, in this case because of the rise in temperature, their aggression also goes up leading to an uptick in crime during the summer months.