“cold feet” = fear of doing something “James was going to ask Ashley out on a date, but he got cold feet and couldn’t do it.”
“give someone the cold shoulder” = ignore someone or give someone a cool reception “Elizabeth gave Ryan the cold shoulder when he tried to apologize for forgetting her birthday.”