Loop quaternary atructure different when 1) given alone, 2)together with rest of protein

When submitted the whole protein structure sequence two missing loops are modelled as loops(two coils). But when loops are provided alone they have alpha helix and beta sheet structures. Why is that?