When "Synchronize Workspaces" is enabled, the view direction and distance of the 3D Viewport carry over when you switch workspaces.
Starting scene demonstrated on Suzanne
Steps
Open the "Smart Workspace" tab in the 3D Viewport Sidebar (N key).
Click "Enabled" in "Other Tools" > "Synchronize Workspaces".
Using the tabs at the very top of the screen, switch from "Layout" to "Scripting".
Follow the changes on screen
LayoutViewing Suzanne from the side in "Layout".Switch While DisabledAfter switching to "Scripting" with sync left "Disabled". The 3D Viewport in the upper left keeps its different direction.Back to LayoutSwitched back to "Layout". The view is still from the side.Switch While EnabledAfter setting sync to "Enabled" and switching to "Scripting". The 3D Viewport in the upper left now shows the side view too.