You don’t indicate what you bought, but when I buy parts or components from Ali express its generally things where quality doesn’t matter or where quality goods would be prohibitively expensive. Like a $10 sensor that just needs to be roughly accurate. Amazon is just as much Chinesium unless you pay way more for brand names so I don’t see what the issue is with cutting about the middle man for applications where quality is not critical.