The thing is, she isn't jealous about them spending time together. But his attitude.
Also you are kinda right but also wrong. I could start rambling for a hours on different definitions of friendship. But personally I would feel happy from friend happiness even if it would make things different...