It's because you've selected the whole image in the option of the scale transform tool (on the second screenshot)
Select the the layer... not the canvas
Layer = red arrow = click on that icon
Also "image opacity" of that tool should be at 100, not at 0.0
Select the the layer... not the canvas
Layer = red arrow = click on that icon
Also "image opacity" of that tool should be at 100, not at 0.0