It might be the completion of your nitrogen cycle. The last step is anaerobic bacteria turning nitrate to nitrogen gas that escapes at the water's surface. The sand provides a place for that anaerobic bacteria so bubbles come out of the sand which are nitrogen gas bubbles.