Why tf sometimes it shows apply code sometimes not

im completelty new to cursor and i try generating code snippet on current code i loved the apply feature into current code and sometimes actually most of the time it doest show to apply i don’t know why tf