A group of men and boys look upwards at something.
A group of people looking up.
Men and boys are people.
men and boys constitute people and looking up is a rephrasing of look upwards.
Looking up is the same as looking upwards. It is a rephrasing.