The ACK value comes from the data sequence number plus the exact payload byte count.
The arithmetic is byte count
The data started at 1001 and carried 2 bytes.
1001+2=1003
The ACK field shows 1003
The ACK header field is 1003, exactly one past the last byte carried by the two-byte payload.
ack=1003
Why it is not 1002
The first byte is at 1001 and the second byte is at 1002. The next wanted byte is therefore 1003.
1001,1002⇒1003
Summary
The ACK number is recomputed from the starting sequence and exact payload byte length.
ACK=1003