Purchase history would just be what apple knows, not your general purchase history.
If you use Apple Pay, for instance, they're the middleman and have to know, and anything you buy on the App Store.
A legitimate reason to share that is a budgeting app. Facebook is taking advantage of that, obviously, but in this instance, I see no fault from apple, here, there's reason to allow an app to get that, so an app can request it, and we can deny it by not getting that app, so fuck Facebook, I'm not downloading it.