[KCD2] “Why am I wanted/hated/getting attacked by guards?!?” explained.
There’s about 12 posts here today alone ranting about “bugs” in the crime system.
But sadly, most of these are players not reading the tutorial or codex. You’ve not fooled the NPCs, you’ve robbed corpses in front of people, you’ve been seen creeping around the village in all black, you rolled into town and suddenly valuables disappeared of someone’s cousin was found dead!
There’s a lot of tutorial & codex writing inside the game to explain all this, and you might be surprised how easily anything untoward Henry does can end him up in trouble. But here’s an article that explains some of the crime and punishment system.