The UK government was described as "a problem for us here in Wales" after Nicola Sturgeon comments.