The answer to 'why is my drain trap making gurgling noise' is that a gurgling drain trap is usually a sign of a blocked or clogged drain. The drain trap is designed to hold a small amount of water to prevent sewer gases from entering your home, but if the drain is blocked, the water can't flow properly, causing the gurgling sound.
Some common causes of a gurgling drain trap include hair, soap scum, or other debris buildup in the drain, a clog further down the drain line, or a vent pipe issue that's allowing air to be drawn back into the drain. The gurgling noise is caused by air bubbles being forced back up through the trap as the water tries to flow down the drain.