Trauma, allergic reactions, inflammation of the sebaceous glands (hordeolum), thrombocytopenia, and vitamin K antagonist rodenticide intoxication can all cause ecchymoses of the lids.