It was a penalty.
We played well but the first touch of certain players was erratic (Sane/Walker) and the wrong pass in the final third was chosen on multiple occasions (Sane/Silva/Bernardo). I imagine they'll say that the scoreline flatters us, but had we played as smoothly as we could, then one could argue that the scoreline flatters Burnley.