Palythoas utilize the rocks and sand from their substrate and incorporate them into their mats. Whether this is for nutrition or just structural strength, I do not know.
Maybe this is the same case for zoanthids.
Most frag plugs are made of inert material and the zoas/palys probably cannot use them so they move on to more natural rocks.