Essentially, what has been begged here since 2012 in the link below. I spend enormous amounts of time clicking through an instance with other elements inside to guess which one has decided to go on ‘fixed’ even when on the parent component it’s on Hug/Fill.
Defaults for Auto Layout Resizing - Ask the community - Figma Community Forum