A function that you may not know about in Windows 10 is the so-called window snapping option.
Window snapping lets you snap windows to take up a specific section of the screen.
This feature is pretty useful, though it may not be for everyone.
If you dont want it to snap there, pull the window away without letting go.
The window snapping options are in the parameters app.
To get to them, press the Windows key, throw in Snap prefs and hit enter.
The snap tweaks are listed under Work with multiple windows.
There are four controls, the first setting is a simple on/off toggle.
With this off, window snapping is entirely disabled.
When narrowing a snapped window, other snapped windows will widen to fill the gap.
The second setting is When I snap a window, automatically resize it to fill available space.
If this setting is disabled, windows will always snap to exactly half or a quarter of the monitor.
However, if this option is enabled, the snapping is a little more flexible.
When snapping a window, it will venture to fill the available space.
The third setting is When I snap a window, show what I can snap next to it.
This is designed to make it easier to fill the remaining space.
The fourth and final setting is When I resize a snapped window, simultaneously resize any adjacent snapped window.
If this setting is disabled, the second window would not be widened automatically.