Yes – unless you deliberately choose otherwise (by holding down Shift as you resize), transforming anything in Photoshop automatically resizes each element proportionally so as not to warp or stretch it unnaturally.