i don't think it's a sand sifting star, but if it is, i believe the fact that it's on the glass indicates that he's having trouble finding food, or is stressed from everything that happened to him recently.
i don't know how true it is, but i heard from an unreliable source that if the tips of the starfish's legs are curled like that, he's not doing well.