When you enter a bill in QuickBooks, you can pay it using the Pay Bills feature.
However, if you Write Cheques to pay for existing bills, the two transactions won't be linked. The bill remains in an unpaid status.
If you created a cheque to pay for an existing bill on accident, don't worry. Use one (not all) of the following solutions: