I have 2020 M1 MBA, with 2 USB-C ports.
My Dell monitor connects with USB-C, but I have another Acer monitor with HDMI. When I connect my Acer display to my Mac to the second port, via HDMI-to-USB-C adapter, the Dell monitor disconnects, and it only shows the Acer monitor. Doing this in reverse order will cause only the Dell to display and not the Acer.
My Macbook is plugged in and getting power, and all my cables are working. Using the "detect displays" button in the system settings does nothing. Going in and out of sleep mode does nothing. Restarting does nothing.
What is causing my MacBook Air to not display both monitors at the same time?