Homeland Security Secretary Kristi Noem will be leaving her role just days after she faced intense scrutiny from lawmakers.