The person is adding a ruffle around the edge of the cupcake using a piping tip.