You can't compare amazon with facebook. Amazon is fundamentally low margin business. FB can at achieve/ maintain profitability levels of high margin google like ad business. Both companies are investing heavily for the future, and that reflects on their bottom line. The more important metric is revenue growth, and unless bottom line is not too red, generally speaking market is only paying attention to the top line growth.