Such apps are not paying you from their own pocket. They have sponsors who pay them and they pay you after taking their commission. Some app are using Adsense to monetize.