I don't believe it is the only reason, but it certainly significantly hurt them. They're also less attractive/bulkier, have less room for battery, are more expensive to design/manufacture, have higher failure rates, etc. I would still pay ridiculous amounts for a phone with flagship specs and flagship build quality, with a physical keyboard.