Is my friend jealous? Advice would be nice.

So basically me and this girl been friends for almost three years and I got my permit back in December and I passed the test before her because she failed the first time. But now we can get our license and she didn’t tell me she that she got it and we hung out on Friday so she already had it but didn’t tell me till today and she’s always trying to make everything a competition like once I get something she has to do the same too. And whenever I hangout with other friends she gets mad at me when she has her friends too what are your guys thoughts? Is she jealous and wants to make it a competition because honestly it’s so annoying.