i became invincible after i died and i got reported

i didnt hack. i died and became invincible. i logged off and when i logged back in i could take damage.
i do have really bad internet so that might explain it otherwise i have know idea.
ill do anything not to get banned