Was this a scam or a sign of one I was in?

I have Apple TV. When I tried to log into my account on my laptop, it was asking me for a password, so I put in my reg password and it was not correct. So I ateempted to chnage it, but when I was told to put in the right phone number associated with the account, it was giving me a number, "*** *** **..* where the final two numbers I did not recognize. In other words, it was under a different phone number! So luckily I have an Iphone, and went to the settings to change my password. This was weird because I've heard that Iphones (or anything connected with them) are hard to hack into. So I changed the password and went to the Apple TV on my computer, and all is fine. But how should one protect oneself when it comes to laptops or phones, etc?

Was this a scam or a sign of one I was in?
Post Opinion