Another item worth checking is your card reader. I had a USB card reader which displayed similar symptoms. Changed the card reader and it solved the problem. The electronics in those USB card readers do fail. I wouldn’t go to any expense though. Just try an alternative reader and see if it makes any difference.
I will say the quality of SD cards these days is a little dubious. Even supposed branded ones and particularly high capacity ones. For anyone interested there’s a neat little utility for Linux called f3. You’ll be surprised at the results it returns for so called branded high capacity cards https://medium.com/@drawn_stories…al-f0109bef63ea