Making Friends of Enemies
Sam rescues Tommy from the prison, and no one knows he's died. Everything is too loud, too bright, too much. He is bombarded with sensory information, struggling to process it after the nothingness of the Afterlife. It take him three days to leave his house. He's been gone for two weeks, and he hopes that someone has noticed, but on a trip to the hotel he halts as he sees another hotel beside it. And there in the doorway, with matching rings on their fingers and laughing without a care in the world, are Ranboo and Tubbo.
Tommy's been forgotten.
But over the next few weeks, Niki and Jack seek him out. Sometimes individually, sometimes together, but Tommy is always delighted to see them no matter what they do. Who cares about the murder attempts? They're seeking him out! They want to spend time with him, clearly. Tommy misses them; they were friends before New L'Manberg, and he's happy to have them back as friends again.
Or,
I really love guilty villains lol and so Tommy befriends Jack and Niki even as they continually try and kill him until they start questioning their choices. (And Tommy knows about it but what's a little pain when he gets friends in exchange?)