A sink trap can smell bad due to trapped food particles, bacteria, and mold. Regular cleaning can help eliminate the odor.