Why am I getting hit with the 10% penalty for withdrawing my from my 401k? I was laid off because of Covid 19.

I had them take out and pay 10% with the withdraw. There are no options for me to rectify this, what is the deal?