Why do some employees get an hourly wage and others get a salary?

It depends on the nature of the industry and the type of position. Nearly all part time jobs are hourly. This is because they have limited hours. Salary positions are ones are generally task orientated. You have to complete the task for satisfactory contribution. The hours may well exceed 40 in a week, but the end result is the only measurable.