Most likely what they said is something like the cavity went deeper than it looked and the tooth needs a root canal.
I’ve said this to patients hundreds of times and some hear it as “oops I messed up your tooth” which is 100% not what happened or what I said.