Pain Medication

When I found my pain medication at a different pharmacy, the pharmacist asked me why I was changing pharmacy's and I said that the one that I've been using is out of the medication and can't get it until January sometime and he said what, the look on his face showed that he couldn't believe that. But I got it and cheaper for me. One thing I don't understand is why at one place the medication is $90 and costs me $14 ,and the new place it's a $104 and cost me $3.22. Same medication same strength and quantity.
Bro, that's crazy. Different manufacturers some of it's made overseas some of its generic there's several factors