When you select villager's available trade after selecting unavailable one, you might hear villager disagree sound.
1. Select an unavailable trade in villager's trade menu
2. Now select the available one
3. You hear villager disagree sound.
"entity.villager.yes" might also play.
A duplicate, you know?
Confirmed in 23w14a, but with different reproduction steps
Get a stonemason
Give yourself emeralds
Give the stonemason spider eyes
Click the emerald for bricks trade
❌ The stonemason disagrees even though you gave them what they wanted.