To establish connections, the internet uses your IP address and ports. Numerous ports are accessible for any IP address. A hacker who knows your IP address can take control of your phone. It happens by brute forcing a link over each of those ports.