Tamping can make sure that no little pockets of air continue being inside the basket. You can imagine that when h2o runs by way of a bed of coffee with air pockets, the circulation of water turns into inconsistent. https://www.coffeehype.co.uk/collections/coffee-tampers/