I figured all this out. Facebook recently got hacked. I am pretty sure you all have a Facebook. You all probably saw a mass messaging with all your friends in it. So if you put your phone number on Facebook, then this is how they got your phone number. I hope this helped :)