The yellow dashed box around the dex mod means something is modifying the dexterity. It could have been max dex due to armor or shield (such as if "0" was in for shield), or a condition applied like flat footed or anything that causes the helpless or immobile conditions.