He may have gotten cut in the ear and has been biting at the scab,thus causing him to get bacterimia which leads to sepsis (blood poisoning) take him to the vet
Try placing any condiments with vinegar in their ingredients like jalapeño ketchup or mustard or aloe gel or soap on trash bags and on top of trash can lids