Because with taxes we can discourage consumption of certain products. For instance taxes were used to discourage the production of white phorsus matches, because they melted the worker's faces.
Messaging apps on the other hand are what the govt generally CAN'T break into.