Why does the mirror modifier create a new object instead of mirroring the object?
this is not a separate object , its just a physically separate mesh, which means that these 2 planes are the part of the same object , this is happening because you object origin is not at the correct place thats why you re getting weird results , you can right click on the object to set origin or in edit mode change the position of the object