It might be looking for food when it does this. They are not reef safe stars. They must be fed meaty foods, like krill, shrimp pellets, silversides, squid. You can put this on the sand and put the star on top (but never pull it off the rock or glass if it is firmly attached), or you can take a skewer or forceps and put it near the tip of an arm.