Britain was in debt because of the French and Indian War, which happened in the Americas.
Because the war did not occur in Britain, the British Parliament decided it would only be fair for the colonists to be taxed in order to pay off the war debt. However, this decision was made without the input of the colonists.