Why did my parents confront me about my cross-dressing?

They are concerned. Any lifestyle choice that differs from your parents will be difficult for them. Particularly one they don't understand. If they didn't care they wouldn't be involved in your life. This confrontation could be a sign they are willing to accept you because they are concerned about you. Keeping the lines of communication open can help to keep this from splitting you apart, causing much more damage.