The pause at the door
You get home and your brother grunts, your dad is short with you, your cousin barely looks up. It is easy to take that personally, because the only part of their day you can see is the part that includes you.
Before you go in, try one small thing: picture their day so far. Not to excuse anything, only to widen the picture.
Three quick guesses
Ask yourself what time they probably got up, what was probably the longest part of their day, and what they might be looking forward to or dreading tonight. They are guesses, and you may be wrong, which is fine.
Then pick a greeting that fits the guess. If it looks like a long day, 'Want me to leave you be for a bit?' can be kinder than 'What's wrong with you?'. If it looks like a good one, ask what was the best part.
Hold the guess loosely
You are not a mind reader, so treat the picture as a starting point, not a verdict. If they tell you something different, go with what they say.
You do not have to fix anything or have a long talk. Often the small shift in your first sentence is all it takes.

