Hermit crabs regularly rest on my SPS and sometimes will hang out for days on branches before crawling off, with no ill effect to the SPS. If this one is new, it may not like the conditions you have in your tank compared to the tank it came from. Suggest checking water parameters and looking over coral when lights are out with a blue light flashlight to see if there are pests present.