What causes a black eye besides eye injury?

Blood or pigment. Classically, a "black eye" is a bruise around the eyeball. This is most often caused by injury but some other causes can be a vascular defect, birth mark, malignancy, altered skin pigmentation. Best to get it checked out.