Written before, read after.
The short-i sign is written BEFORE its consonant but pronounced AFTER. क + ि shows as कि — and you read it 'ki', never 'ik'. This trap catches everyone once.