The Bug:
The sounds of equipping happy ghasts with harnesses are controlled by the "Friendly Mobs" sound category instead of "Players".
Actions that a player performs on a mob, such as milking a cow or shearing a sheep, are controlled by the "Players" volume slider. However, equipping a happy ghast with a harness plays its sound through the "Friendly Mobs" volume slider, therefore introducing an inconsistency.
Steps to Reproduce:
Open the "Music & Sounds..." menu and set the "Friendly Mobs" slider to "OFF".
Place down a happy ghast using a spawn egg and obtain a white harness.
Equip the happy ghast with the white harness and observe if a sound is heard.
Observed Behavior:
The sounds are controlled by the "Friendly Mobs" sound category.
Expected Behavior:
The sounds would be controlled by the "Players" sound category.
Can confirm.