Ask a Question With Room in It
Curiosity can offer companionship without deciding what another person feels.
Someone you know may be living through a day you cannot accurately imagine. Familiarity can make it tempting to supply their answer before they have finished describing the question.
When there is an opening, ask something that allows a real response. What has been taking most of their attention? What would be useful from you? Is there something they would rather leave alone for now?
Let the answer change the conversation. Companionship becomes more responsive when the person beside you has room to be different from the version you expected to meet.