Screen Rotation turns on randomly
I would think that it is system bug. Huawei, Xiaomi and (non Nexus) LG have worst implementations of Android. There are tons of bugs in their customizations. 

I don't understand how they can pass Google's certification.

Disclaimer: I'm developer so I get many bug reports from users owning those devices.