Why do the task ID numbers change?
Task does this to always show you the smallest numbers it can. The idea is that if your tasks are numbered 1 – 33, for example, those are easy to type in. If instead task kept a rolling sequence number, after a while your tasks might be numbered 481 – 513, which makes it more likely to enter one incorrectly, because there are more digits.