Issue about the external display on macOS Mojave
Best guess, you have unchecked 'Displays have separate Spaces' in System prefs> Mission Control...
or, alternatively, you don't have more Spaces than screens, so they are forced to share.