It is very natural behavior for American robins to be aggressive during migration. They only occur in large flocks during migration and in winter. Most are juveniles that are establishing a pecking order, and all may be aggressive as they compete for food and water. The seemingly peaceful robins in your yard in spring and summer have paired and are breeding. Unless their territory is encroached upon by another robin or a predator, they are not usually aggressive.