That was my first thought. Why should the defendant have a say in what evidence can be collected? Did the Feds ask if they could take DNA samples from the scene, for example?
The owner of the device giving consent to Amazon to release the data avoids having to play out the legal process of obtaining the data (it's likely the request would eventually have succeeded).
With the defendant consenting, Amazon's standing for litigating this issue becomes more fraught.