It could just be that the chicken got defensive because it was startled. I've only ever had hens flog if they had chicks, though, but I could see how a startled hen might attack. Then, there's always the possibility that it's a cockerel. Could you post a pic?