When you open a door (or using the / playsound block.wooden_door.open @a) you can hear the sound door open or door close. I also try to change the sounds door_close and door_open with a resource pack, but the game still plays the default sound door_open for wooden doors.
WAI per MC-24778