Blue tangs like to wedge themselves between rocks when they sleep or when they are stressed. I don’t know how mine even fits in her spot she sleeps in but when lights go out she backs up & wedges into her spot. In your case it sounds like it is eighther stressed, sick or both.