From what I understand it seems to matter who was there first, the shrimp or the wrasse. If the wrasse is first they seem to go after the shrimp, if the shrimp was first they tend to leave it alone. Though this is pure speculation I have a theory about this...many wrasse exhibit cleaning behavior so they may see the shrimp as a competitor.