Claiming dependents

In the year 2021 I had 2 dependents. Both being my daughters. But when the IRS did my return they took one of my daughters off my return. My oldest daughter who is 3 has my lastname and my youngest who was born in 2021 has her fathers lastname. I don’t understand why they took my daughter off my return. Unless I can’t claim her till 2022