If you are bad at PM you can do mid-long term damage to a product which is not fixable like a problem in the code.
PM might have coding experience or not, it helps a lot if they do, but good PMs have a set of skills which are completely unrelated to being a software developer.