I know there are lots of questions with this title but none of them resolved my problem.
I have a story with some subtasks with status as closed which is one of the default Jira statuses. The resolution of these subtasks is Done.

I add closed column from column management as follows:

The category is Done by default but strangely it shows it with blue color which is ToDo color.

I cant understand what's going on with this column.