I think both skills can be learned. I also think that people have intrinsic talents that make them better or worse at those skills.
Put another way, anyone can learn to code but some people will never be great at it while others have a natural talent. Same for design.
I’m curious why you think otherwise. What’s the difference in your mind?