My chicken she's still young not laying is attacking my Chihuahua

My other older hen is sweet pays dogs no attention today my husband caught her on top of my dog pecking her .. im more surprised shes still 😳 alive to be honest