Because Apple makes very little effort to avoid that confusion. Both activities take place inside the same app, and will automatically (yeah, right) route across the relevant delivery system based on the status of the recipient(s).
I'm not sure why you say (yeah, right.) Is this something you've had an issue with? I've never not had a message go through whether via iMessage or SMS, assuming I'm actually online/on cellular.