Magic. Literally. The swords are made from their soul. I think one way to think of it as defensive AT fields from NGE, and the swords are offensive AT fields. This also explains why if you aren't sure of oneself/weak it's almost impossible to hurt some one who is sure/strong.