Why are Images Imported as Planes Hidden by a Reference or Background Image?
This happens because Images as Planes addon automatically uses Alpha Blend mode.

Switch to Alpha Clip or Alpha Hashed and it will work as intended
(You need to be in Eevee, for these options to show up.)