I don't want to offend anyone, I ask you this because you're not the first or the last to have genuine doubts about components purchased from eBay and I'd like to understand why people continue to purchase on eBay instead "official" resellers.
Mostly cost. If you aren't a company and are buying small amounts here and there, the shipping charges of the likes of Mouser, Farnell or Digikey charge are crazy, often 50% or more of the value of the order if all you need are a few components. And if I had to wait every time to accumulate the 60€ or so worth of goods to qualify for the free shipping, the repair would take months. Not everyone orders components every week.
With Digikey you get also the problems with credit cards (they seem to have issues with the extra validation on French CCs), customs handling (they ship from the US, letting the courier handle the paperwork - you get charged flat 20€ for the privilege), VAT and sometimes they will demand you to fill ITAR forms too, for common components ... DigiKey is an enormous pain in the butt in France, literally the last option when the component I need isn't available elsewhere.
Also the price of the components tends to better on AliExpress/eBay, at least for small stuff like resistors, LEDs, switches and such. So if it is for a non-critical use or something where I don't care I may get a fake/clone, I shop there too. Otherwise for semiconductors or when I need really good capacitors, my first choice as a hobbyist/private person (not business) in France is RS (cheapest/free shipping), then Mouser and then Farnell. When shopping for work, we usually use RS and Mouser.
There is also a logistical problem - all the big distributors ship by couriers, such as TNT, DHL and UPS. Which is great if you are a business but a royal PAIN IN THE BACKSIDE if you are a private person and have nobody at home to pick the package up during the day. The courier will not leave the package in the mailbox (they aren't allowed to and often don't have access to them anyway) and not leave a message neither. Good luck chasing the package up afterwards, especially here in France where it is common that e.g. DHL uses a chain of sub-sub-sub-subcontractors for the actual deliveries and they often don't even know they are working for DHL ... Not everyone can have things delivered to work. On the other hand, if you order from eBay, AliExpress or Amazon the package comes conveniently by French Post and no problem.
It is easy to dismiss people buying stuff online but when it is going out of your own pocket most people think twice and will look for cheaper/more convenient options. Hard to blame anyone there.
I think that if e.g. RS or Mouser started a special "hobby level" service with cheap (let's say 2€ max) shipping by regular mail (letters) for small orders, they would easily corner the entire hobbyist market. Hobbyists rarely care about overnight/second day delivery by TNT, I will be happy to wait a few days longer if I don't have to pay 20€ S&H for a few transistors in an envelope. There isn't really such service available and most of the distributors charge these crazy S&H fees to discourage the small orders (they used to not sell to private clients at all not so long time ago) because it is not cost efficient for their current logistics - e.g. RS will commonly split an order of 20 small components into three or more packages delivered in separate boxes on 3 consecutive days, paying 3x the shipping costs to TNT.