They were not the same thing at all, as different as apples and pears.
When I started teaching I had a student who was determined to crack the women's magazine market because it was the only one that paid. This is true. He'd come to my class because he was getting rejected. He suspected a female conspiracy against him because he was a man. Not true. A good story is a good story, regardless of the sex of the writer.
What became clear was that his inclinations were to write literary short stories, apples, if you like. But the women's magazine market wants pears. It makes no difference if you've got a juicy Braeburn, a crisp Cox's Orange Pippin, or a woolly Granny Smith - they're not pears.
He refused to accept this, and stomped off in a huff.
The same is true the other way round - if you're writing pears, they won't get placed in a literary short story competition. Another student was having great success with the womags - hardly a week went by when she didn't report another sale - but yearned to win a short story competition. It didn't happen for her, although she worked very hard at her writing.
If you want to write short stories then you need to know your market. How? Easy - read. Read, read, then read some more. Apples? Or pears? Work it out, then apply to your own work.