Amazon’s been spending lots of money on expanding its operations, so analysts expected a huge drop in profit for the first quarter. And even though earnings did fall, they didn’t decline nearly as much as analysts had feared.