Maximized Windows are Unmaximized When Plugging In External Monitor

It's because the resolution changes, thus Windows unmaximizes them. There is no way to prevent this.