Why does a border appear for a coding action item for a case?

A red border indicates that the respective action item was completed for the case. Oppositely, a green border indicates that the respective action item wasn't completed for the case.