If i am correct , those are Gossip stones . They are scattered around Hyrule and Termina . They tell you certain tips , advice , or sometimes some random Trivia . At first , in Ocarina of Time , the Gossip Stones would only tell you the time . In order for it to tell you advice , you need to complete the Mask Trading in Ocarina of Time, once you do , the Happy Mask Salesman will give the Mask of Truth , which will allow the player to communicate with the Gossip Stones .
In majora's Mask , if you would play the Song of Storms right in front of a Gossip Stone , you would wash out a Fairy. And if you happen to Place a bomb in a Gossip Stone , the Gossip Stone will surely act like a rocket and fly towards Skyward .