1)
How could he offer a Korban? Bamos were forbidden when the Mishkan was in Shilo!
1.
Radak: This was a Hora'as Sha'ah. The angel said "v'Im Ta'aseh Olah la'Shem Ta'alenah" (verse 16).
2.
R. Shimon (Zevachim 119a): "Ki Lo Vasem? El ha'Menuchah v'El ha'Nachalah" - both of these refer to Yerushalayim. There was no Isur Bamos when the Mishkan was in Shilo. (This is unlike the Stam (majority) opinion. - PF)
2)
What was "Mafli La'asos"?