Here is your explanation, just like it was explained to all the other people complaining about the schedule: IT IS PREDETERMINED YEARS AND YEARS IN ADVANCE.
The last time the NFC East played the AFC East, we had Miami and Buffalo at home and the Eagles had them on the road. Therefore, this time around the home/away schedule was reversed. In 4 years, the Eagles will have Miami and Buffalo on the road and we will have them at home. Just call me Nostradamus, lol. The only thing that takes the place you finish into consideration is the odd 17th game.