How to create multiple node at a same time programatically?
I guess it is because you overriding node variable. 

In my opinion the more Drupal way is to use Rules module. There you can create   application node after article is created.