The answer to 'P-trap making gurgling noise' is that a gurgling sound coming from the p-trap under your sink is a common plumbing issue that typically indicates a blockage or air pocket in the drain. This can be caused by a buildup of debris, a clogged vent pipe, or improper installation of the p-trap.
The p-trap is designed to hold a small amount of water that creates a seal, preventing sewer gases from entering your home. When this water seal is disrupted, it can cause the gurgling sound as air is drawn back through the drain. In most cases, this is a relatively simple problem to fix, but it's important to address it promptly to prevent further issues.