if it doesn't help, you can try and go to settings -> system -> reset options and here you reset both wi-fi, mobile etc + reset app preferences. You will have to relogin into all apps that require login after this. There might be other side effects but it's better than to make a total reset
For past, two weeks phone randomly restarts after incoming or outgoing call ended. I can tell, it's after 10 update, but here in this forum , the so called intellectuals will definitely tell, this problem not faced by them. So, please stay away. And, please do factory reset or so and so gimmicks, all the wet onion things I know. So, kindly avoid comments like factory reset. Seriously this have hardware issue, which was , will triggered by few software tweeks. That the whole team, failed to admit the defective in process or yet to progress. It's a major or minor concern , problem is a problem. Need a solution or some technical inspection.