The dead one is a crane fly by looks of it has been dead a while suspect that the beetle just found it... is this the correct orientation?
The dead crane fly I found would not have stuck upside down on a leaf.
could be that it has some sort of fungal infection though.