Minecraft version 1.21.11

As you can see in the picture I have selected the top trade, however it’s offering me glass, not the book. I have tried taking the glass to see what would happen and it gives me glass…. This is happening with every trader, I have reloaded Minecraft & it isn’t fixing it
Villagers not trading the item I am clicking?