Bitcoin mining difficulty changes after every two weeks depending of the amount of computing power measured in hashrate available in the bitcoin mining network. When new miners add in more computing power in the network the mining difficulty increases and when big mining farms withdraws from mining the difficulty reduces.
The full article here: https://coinidol.com/bitcoin-mining-difficulty-factor/
