That means the device is programmed to mark the word as grammatically incorrect, if you double tap the word there should be a correct suggestion of the word instead. This may not always be the right one tho, ask someone experienced if you’re unsure.
#1 is A and #2 is B, but I don't know about #3 and #4.
We need more information for this one, please.