WebKit, MAC OS X, iPhone 8, Reset router, security breach?

Why is my iPhone 8 showing up as Mozilla CPU MAC OS X (like gecko) and connected to a Mac? Am I (or my privacy in danger of being compromised or attacked? I’m clueless about this stuff and am hoping I’m just being paranoid. I do not have any active Mac devices.