The reason is the system prompt they provided. They probably added a clause like “plan user’s requirements… and implement the required code”