I would lean towards the snails making the noise. They do have defenses, which include raises and turning their shell rapidly .. and sometimes taps against the glass when doing it
My snails do this for fun. My hermit crabs do this too when they are running across the bottom of the tank close to the glass.