Corals can and will sting each other. Xenias are pretty harmless, as are torch corals, but some corals have really bad stings (galaxea and hydnopora come to mind). It's good practice to keep different species from touching each other, in general, but with things that spread so quickly (like xenia), that can be hard.