brooding

adjective

Engaged in or showing deep thought about something that makes one sad, angry, or worried.