Am I cooking mushrooms wrong?
There's nothing wrong with the way you cooked those mushrooms, you fried them to give them some color and seasoned them, which is perfectly fine. You didn't mess them up, you just don't like them. No matter how you prepare them you probably still won't like the flavor, there's nothing wrong with that, it's just how you are.