It can be plugged in with the generator on, so no issue. Not that this image isn't fake as fuck - the generator isn't secured, and it's connecting the AC generator plug directly to the EV port with a cable instead of using an EV charger. There are (were) some actual attempts at this: https://www.ecomotorsnews.com/en/news/electric-range-a-battery-trailer-reopens-the-long-distance-mobility-debate
Not sure why, but there seems to be a lot AI slop that's basically this, except they usually have these ridiculous industrial generators with plumes of coal smoke.