Royal icing is meant to be very thick and harden significantly more than any typical powdered sugar icing ever could. This is achieved by adding whipped egg whites (most bakers will use meringue powder as a quick shortcut)