There could be a few reasons, but likely its due to over-mixing at the macaronage stage! Make sure to be very gentle when adding the meringue, and once its ready get it into a piping bag straight away. Don't be tempted to keep stirring!