Is it true that when a female and male become friends it’s because one or both are attracted to one another?

I have this one female friend that I’ve been friends with for like 5 years. She’s like a sister to me. Ever since she met me I suspected she liked me just based on how she acted and in a group project she asked the teacher to partner us together and I was like umm ok lol. Just recently she introduced me to her friend and we’re hitting it off right now like the best girl I’ve talked to romantically in a while. But every time I bring her up she gets irritated or like just says yea but in a way like bypasses the thing I said. So I’m trying to see if it’s true this is what someone I know said but never took it seriously until now
Updates
1 y
Also the other day I was drinking a little and I was waiting for a call from her friend because we’ve called almost everyday for 2 weeks maybe. And her call was random and I answered without looking who it was the whole time I was talking like it’s her friend lol and then said “oh I thought this was___” she hung up but I apologized and explained and we cool now
Is it true that when a female and male become friends it’s because one or both are attracted to one another?
Post Opinion