Styles made his WWE (re)Debut on Royal Rumble 2016. Since then he has won the WWE Championship and the United States Championship twice each as well as has been the cover star of WWE 2K19. In this period he has been one of the the top faces of the company.
Styles' contract is set to expire in December end. Styles and WWE have been negotiating regarding the new deal (but according to various "SOURCES" who reported WWE not having plans for Daniel Bryan and Nia Jax getting punished, they haven't come to terms yet). Styles is demanding for a 3 year deal with less dates while WWE is forcing a 5-Year full time contract.
Personal Take- If WWE lets one of the best wrestlers on the planet leave their promotion because they can't let him spend time with his family (which is the cause of him demanding for less dates), it would be one the worst decisions of the company.