Why were victims of the holocaust targeted?

Because they were Jewish. Jews were one of many sections of society that Hitler did not see as part of his Germany. More than that, because of their numbers they were targeted for extermination, hence the Holocaust.