Pin entry puzzle

I’m using a Explorer hat pro on a Raspberry pi 4 and I find that when running the pin entry example the led’s work as expected and the buzzer works when the pin is correct but not when the pin is incorrect, any ideas what’s causing this?