Shadow the Hedgehog spends a great deal of his time reminiscing about Maria, his closest friend, and muttering to himself about being the ultimate life form.
That brooding routine usually holds until Sonic turns up and irritates him out of it, which is roughly how their dynamic works across the series.
It's a character trait the games and the fan community both lean into heavily — the tortured monologue is practically a hobby at this point.