The active drug is identical, but the material used to make may be different and the coating may be different also. So a branded off the shelf tablet may, due to how it's made and the extra markup (Xofen Xtreme Pain relief) get to work 5-10 minutes before the generic version, or it may taste sweeter and be easier to swallow for children, be in gel form etc.
It's worth noting that this is different from the types in the article - https://www.accc.gov.au/media-release/court-finds-nurofen-ma... where products like Nurofen Period pain and Nurofen Migrane were the exact same thing.
But not impossible. You could imagine that they do some kind of tests on their pills, and put the "better" batches in the fancier packaging with the higher prices. I doubt it, though. (Though I bet such things do happen in other less tightly regulated markets.)
I have read before that good quality vitamin pills are bigger so that they crumble / break down and get absorbed better that hard compact ones.
I've seen so many people take overpriced multivitamins and specific brands for cold/fever when they could've taken generic paracetamol or bodybuilder supplement vitamins (much cheaper and higher dosages) that I don't even care anymore.
Either educate yourself and do some research or pay for the safe, overpriced brand.
However, there have been a few that have gotten recalled because they weren't bioequivalent. Wellbutrin is a great example. It took the FDA a couple years to finally force the manufacturer to redo the tests and fix the problem.
There's a very strange bug in human programming that we still fall for this stuff so easily.
Branding used to be (and still is) very important in an unregulated market. If there's a high chance that rival products are ineffective (or poisonous) then you have a damned good incentive to stick to your trusted brand.
In a regulated market where a £0.30 pack of generic ibuprofen is literally the same thing as a £2.00 pack of Nurofen, there should be no reason for Nurofen to even exist. In a rational world it wouldn't exist.
I guess the advertising & branding industry really hasn't existed for all that long in terms of human civilisation. Maybe we will gradually wise up to this sort of thing?