You disobeyed the Lord's command and did not completely destroy the Amalekites and all they had. That is why the Lord is doing this to you now.