Ted's, and robin's reaction to robin and barney sleeping was stupid

Yeah i know robin was in a vulnerable position at that time and bla bla bla barney shouldnt have done that etc etc etc. But im not gonna talk about that. The main thing is the reaction Ted, robin and marshall had to it. Barney's reaction of him feeling guilty is understandable because his character lives a delusion where the "bro code" is genuinely sacred for him and means something to him. But robin, marshall and ted?? Why the hell should it matter to ted who robin sleeps with, why the hell should it matter to ted if barney and robin fuck each other. Ted and robin broke up long ago, what the 2 of them do is not his business.

Robin having a reaction of "oh i cant hold it back i need to tell ted", why?? This only happens when you are dating someone "oh no i cheated on my boyfriend with his bestfriend, i need to tell him", in this scenario ted was not the boyfriend, and robin didnt cheat.

Same with ted, I genuinely hate this character ill be honest, barney, who has been his friend for longer than robin (wayyyy longer than robin), sleeps with robin, and what does ted do?? "Errm barney i had this box of things i dont need, so ermmm i think you belong in that box because you slept with a girl i broke up with about a year ago, very bad barney, robin slept with you too, but it doesnt matter, its robin, I dont wanna cut her out of my life cus its fucking robin, you who has been a friend for longer than her, needs to go". Like what?? What robin does shouldnt matter to ted, simple as that. It feels like this sub plot was written by some nerd who lives in his parents basement and has never been in a relationship but imagines that this is what it would be like. Genuinely stupid. All 3 of them, lily was the only one with a funny reaction, since she was more worried about barney's penis, funny moment, but others (marshal, ted and robin) were genuinely stupid.

Edit: Another annoying fucking thing about this is, how everyone in the group cut barney out. Barney calls up marshall and asks him to be his wingman (basically hang out with him), marshall says no, which is understandable. He calls up robin, the girl who basically got barney kicked out of his own friend group, and robin says "no" in the rudest fucking way possible and hangs up. Its as if the group doesnt care he's gone, no one tries to convince ted to let him back in or make up with him. Ted really sounds like a cu*k at this point, he is dating another girl and gets jealous about robin and barney having sex.