I suspect the app ecosystem was a problem with Windows Phone. iOS and Android already had a head start of a few years, with Windows Phone not appearing until late 2010, and "Windows" was a bit of a misnomer, because desktop Windows apps couldn't run on the phone, so the preexisting software ecosystem didn't help.