I’d argue it’s especially hard if you’re also accused of murder and you have no way of proving you didn’t do it.
When a hero as prominent as Spider-Man has their identity exposed, it’s a real crisis.
It would make total sense that Peter fled town shortly after the announcement, and Spider-Man: No Way Home will see him laying low in some more remote location for the time being.
Now he has to deal with everyone, good or bad, knowing who he is and the consequences that come from it.