Get Device Orientation bug?

Hello Everyone.
I’m working on a app for Andorid.
I’m changing the camera FOV according to the device orientation.
so far so good everything works but one thing.
When I want to PRINT STRING the device orientation using

Event Tick → Get Device Orientation → Print String

the name of the orientation not always matches with my phone orientation.

I’ll attach an image to give you a better visual idea of what I mean

portrait and portrait upside down are correct
meanwhile landscape and landscape upside down are not correct.

the device is a Samsung Galaxy S20 Ultra 5G with android 13.

Does anyone have any ideas of why this is happening?

If you need any other info, please, feel free to ask.

Thank you