It is not likely your phone was hacked. It would be very difficult for anyone to gain access to your iPhone, and even more difficult to access your Keychain to add unrecognized website passwords. These support articles from support.apple.com may come in handy:
If you think your Apple ID has been compromised - Apple Support
Frequently asked questions about iCloud Keychain - Apple Support