Prometheus starts with the finding of the cave paintings of a star map. Shaw and Holloway had interpreted it as an invitation.

In the further action it occurs that the place pointed to by the map was actually a military base with ships full of mass destruction weapons pointed to Earth.

Why would the engineers show humanity the way to their weaponry?