Situations that threaten the care they need to receive from parents can create feelings of shame, guilt, unlovability, rejection and the like.
some of these feelings come to concern sexuality, as children observe the character of their parents' relationship and generalize its meaning for themselves.