Only a few mammal dads do this

Among mammals, only about 5% of species have fathers that play a major role in raising their young. Humans are part of that small group.

Paternal Brain: Why Involved Fathers Are Unusual

But when it appears, it appears more than once

Strong father care has evolved independently many times in mammals. That means different species developed it separately, not from one single father-caring ancestor. In some species, it can even appear in captivity.

Paternal Brain: Why Involved Fathers Are Unusual