Looks like a glitch to me, because you are in Vertex Select Mode, but those leftover Edges don’t have Verts…
Update your Graphics driver(s).
If you are using Blender 3.4, try switching to 3.5.
If nothing else works, could you post a link (via Dropbox, GoogleDrive, or so) to your .blend file here?