why the fed is risking a recession

Home sales are flagging and the rest of the economy is expected to slow, maybe sharply, as rates increase. Why is the Federal Reserve doing this?