Tanya is a pleasant, lovable girl
but Hedi also has a pleasant manner, it looks good, is tall, which probably makes him desirable for all girls.
I have the impression that the two did not break up, they have an open relationship, Mascha is a short episode in it. there is no jealousy
it's OK if it's OK for both of them.