A good amount of Chinese stuff is just the same rebranded. However, sometimes whilst Product A == Product B Product A may have been through more rigorous QC.
Quite often what happens is say 1000 units are built – 200 are ‘grade A’ and company X puts their name on it, 300 are ‘grade B’ and company Y puts their name on it.
Eventually you have a 100 or so units which may or may not work and are branded company Z who noone has ever heard of and sold so cheap that if they don’t work the customer rarely bothers to send it back and when they do so much money has be saved by letting the consumer do the QC for them that they can afford to replace or refund. Occasionally the bottom of the pile items perform very well and the consumer has bagged a bargain.
This accounts for why sometimes on Amazon two very similar looking products can have quite different review ratings and the cheaper one generally has a few 4/5* ratings from those that got a good ‘un and a number of 1/2* from those that got a lemon.