Though show tunes may vary in style, they do tend to share common characteristics — they tend to be singable, and to contain content which fits (or can be fit into) the context of a larger story. Even independent songs that are later used in musicals usually have a "show tunes"-appropriate quality to them. That is, they don't just "happen" to be in musicals. They are in musicals for a reason.