Because brittle stars will wander into the jawfishes hole, and **** of the jawfish forcing it to make a new home. This adds stress to the jawfish.
The same thing goes for tank with pistol/goby shrimp and brittle stars.

The stars mean no harm, they are just curious