The difference is intent, though I don't think that the difference matters in this situation. There have been multiple times where people have been banned for being bad trolls by asking shitpost-y questions, and there have been times where people have been banned for constantly posting low quality questions.
Generally, it's pretty easy to tell when something is done just for the sake of trolling people. I don't think this is the situation. But, like I said above, it comes back to the difference not mattering. If the mods think this user should be banned for the quality of their posts, then that's what will happen. Otherwise, nothing will happen, even if the intent of the posts is to troll people.