Editing to add: I didn't intend this to say your comment isn't true. Perhaps I'm looking at something else or understanding wrong, so asking in earnest.
Thinking about it more, maybe it was duty fees (since I'm in Canada and some items from from the US). That would make more sense as those would scale with the items maybe? I specifically recall though seeing X + Y$ on non-Prime and then Z$ on Prime.
Also, as you mention, if some items are sent from the US, they might not be sold by Amazon, so they'll show you the cheapest option, but as it becomes available or not in different sellers, the price will differ.
You can try to open a product at the same time on a logged/not logged account and see if there's a difference. But you need to do that at the same time.
The same item, if you look at it logged out, will show 15$ + 8$ shipping, but when logged in will show 23$ free shipping with a nice big Prime logo next to it. That's the issue at play, not what some other sites do. This is plain misleading and deceptive.