Answer: it was a former British colony.
“Post-colonial” refers to the period or condition following colonial rule. The former British colonial status is therefore the relevant reason. The term does not imply that every colonial practice has disappeared or that the country has itself colonized others.