The Internal Revenue Service said Friday that it will extend certain tax deadlines to October 2024 for those affected by the Hamas attacks in Israel.