Engineers-First, Customer-First Approach

What makes a successful product?

Is it the ability to pinpoint a market-need or maybe even create one?

Is it the ability to find a path to a better product than what the market already offers?

Or is it about establishing a good relationship with a customer then hiring the best engineers to materialize their vision?