I didn't hit the villager but traded a lot with it. When I was experimenting with how they work, I just saw how massive the enchanted book prices skyrocketed for no reason.
I'm still not sure if it's a bug, but I've seen other prices go up even when I have a high reputation in the past.
Thank you for your report!
We're actually already tracking this issue in MC-146373, so I resolved and linked this ticket as a duplicate.
However, that ticket has already been resolved. That means that this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
๐ Issue Guidelines โ ๐ฌ Community Support โ ๐ง Customer Support โ ๐ Game Wiki