I've come across some examples of the construction
[question] a fare, se ... ?
lately, and I'm wondering what it means and how it works.
Ma che sopravvivi a fare, se vivere è un casino?
Ma che pago a fare se posso scaricare?
Cosa mi scrivi a fare se non stiamo insieme?
Is it a colloquial or regional expression that adds emphasis to the question?