I had the same problem. Basically, you need to reset your modem. If that doesn't work, I suspect you may need to contact the Spectrum support team.
Here are the troubleshooting guidelines you can try in the meantime to fix the AFE-1004 error code on your Apple TV -> https://www.einsstark.tech/apple-tv-afe-1004-error/