Two important reasons:
Defects found early cost less to fix : When a defect is found immediately after a developer codes it, it takes 10x times less time to fix it compared to finding the defect a month later.
Reduced Time to Market : Software is always tested. So, it is always ready to move to further environments.