It's fairly common that it happens in birds that are excited or stressed by something, particularly hormonal cockerels. It may be completely normal and nothing to worry about. I would do some observing, see if it comes and goes, watch his behavior closely, see if anything else seems off or...