Amazon earnings fall short, offers weak outlook