It's because if you allow them to sell alcohol indoors while pubs can't, then lots of restaurants/cafes will effectively operate as pubs, with folk going for a token meal to get hammered
See the 'substantial meal' nonsense that went on in England when they tried what you're suggesting https://www.vice.com/en/article/pkdkpg/substantial-meals-tier-2-pubs