Shortly after Air France flight 447 took off from Rio De Janeiro in June 2009, it entered a storm, vanished from air control systems, and crashed into the Atlantic Ocean. It took more than 2 years for the wreckage to be found, along with the information it held about what went wrong. So why don't planes just send out flight recorder data constantly throughout a flight?
source https://www.lifetechnology.com/blogs/life-technology-technology-news/airplane-mode-why-dont-commercial-jets-stream-their-flight-recorder-data