Causes of ear crackling / clicking?

Air. When your ear drum moves in response to air moving into your ear from your eustachian tube, a crackling/clicking sound is made.