Am I being petty or fair?

I went through my girlfriends phone while she was asleep (not because I thought she’s cheating but for another reason I wanted to see something that she told me not too) and she found out. She changed her passcode and took my Face ID off her phone. After I noticed that she did that, I change my passcode and took her Face ID off my phone. She said that was a petty thing to do, but I think it’s fair.

Updates
+1 y
I’m a guy
Am I being petty or fair?
Post Opinion