This just happened to me a couple days ago after the 2021.32.21 update. I noticed first the charge port wasn't closing a few second after unplugging like before and required the gentle nudge to close it.
Yesterday the charge port was had mysteriously opened on its own sometime overnight. It wouldn't close whether commanded from the car's touchscreen, the car's own portable EVSE, or the app. Pushing it closed worked, for a few seconds, only to have it open on its own again.
That's when I noticed the charge port looked different! There was a little shiny metal tab sticking up from the bottom inside the port. That must be the electronic latch. It was in a latched state. Sure enough, I couldn't plug in. Your photo doesn't appear to show this, so maybe not the same situation.
What to do... well, I ended up using the emergency charge port latch release inside the trunk. It took two pulls to get it to stay unlatched, but the door still wasn't working quite right. It wouldn't close on its own.
Finally I tried the two-scroll-wheel reboot. Twice.
Problem solved... for now. It's almost like the state of the charge port door and inlet latch were out-of-sequence with reality.
The charge port should close a few seconds after unplugging. If it isn't, I'd recommend using the app the schedule a service appointment.