The sd card may have a small plastic slide switch that sets it to read only.
For example, the plastic cover could be blue and the slide is on its edge coloured white. The slide is very small and if you are unaware of its existance, you may not notice it.
Formatting may not be necessary.
Please advise back on progress.
Good Luck - Keep us posted.