Ok, likley the latter then
- the feature of switching core->GUI->core was riddled with problems and was abandoned with 2016 and forward.
- typical reason for the GUI to unexpectedly appear as core is a badly broken DotNet so you may need to clean install it.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--