E-commerce titan Amazon on Tuesday said profit in the first three months of 2024 tripled as its cloud, ads, and retail businesses thrived.