Problem Galaxy S10 problem


Let's say hello to all the boys. Today I encountered a rather strange problem... I had taken the phone from charging when suddenly it turned off by itself, my phone was reset to the factory settings without doing anything... it deleted everything...
He told me there that someone unauthorized would have done this... the problem is that my Huawei also has an old p8lite, at the same time it turned off and was reset as well...
I'm thinking of an email, someone gave me a Clash Royale account with everything with email, and I had that email on both phones... is it possible that this is the reason? Very strange.. someone hacked both of my phone calls through that email... maybe you will laugh, but I can't find another explanation.
I hope you can help me.