The reason why wotan did that is because she, overcome with compassion, attempted to save Siegmund's life in battle
Brünnhilde obtain the compassion after she witnessed Siegmund's devotion to Sieglinde. After witnessing this, Brünnhilde decides to disobey Wotan's orders and save Siegmund's life instead.