I got the villagers set up to where they can’t escape and everything then started trying to get enchantments and I was even able to get 6 of the enchantments that I want but then all of a sudden they stopped taking the job and the green and angry reaction thing (idk what to call it) shows up instead of just the green, I’ve tried everything I can think of

I am on bedrock and there’s a bunch of cats and 2 iron golems in the same room that have spawned if that has anything to do with it
Villagers not taking jobs anymore need help