the location they're placed is entirely determined by the rotation of the parent train stop. can you test if that power wire overhead is causing it to not get placed? Also could you make some new empty rail elsewhere and see if it works?
In your second image, the bottom loader should have placed more loaders to the right. the top 2 train stations have items in the way of loaders though so they won't place anything
keep in mind loaders are 4 tiles wide not 2, so you need room around the rail to place them (but that's not the issue with your bottom train station, I think)