Neck crack

Sometimes when I take a deep breath in through my nose it makes my neck crack?? It doesn’t hurt I’m just curious why it happens