Many times this is a jaw disc displacement problem with jaw joint noises.
You might be having to displace the joint in the morning to get your teeth back together. So you wake with disc in a more normal position. If you get headaches and have limited opening after biting hard you may get rid of the noise but be putting the jaw in a displaced position. See a TMJ dentist to get it diagnosed.