Why do «بِإِبْرَاهِيمَ» and «بِنُوحٍ» have different endings after bi-?

Diptote Causes — Foreign Origin and Its Conditions