I am going to explain this on a much simpler example - an elevator accelerating upwards. Imagine a person standing on a scale in an elevator accelerating upwards. What would the scale show?
To answer this question, we must observe the person from an inertial reference frame such as Earth. For an observer on ground, the resultant (net) force on the person in the elevator is:
$$\vec{F}_\text{net} = m a \hat{\jmath}$$
where positive direction of the vertical $\hat{\jmath}$ axis is defined to be upwards (away from Earth's center). In terms of the second Newton's law
$$\sum_{i} \vec{F}_i = m \vec{a}$$
the resultant force is on the right-hand side of the equation since that is a consequence, and all forces that act on the person are on the left-hand side of the equation. When thinking about motion, you should never mix causation (left-hand side) and consequence (right-hand side)! Now what forces act on the person in the elevator? That would be the gravitational force by Earth and normal force by the floor (scale), hence
$$\vec{n} + \vec{w} = \vec{F}_\text{net}$$
where the scale measures magnitude of the normal force. Since the gravitational force is defined as:
$$\vec{w} = -mg \hat{\jmath}$$
the normal force in this example is
$$\vec{n} = m(a+g) \hat{\jmath}$$
In other words, the scale would measure
$$N = m(a+g)$$
which is also known as the apparent weight. Person in the elevator would feel heavier when accelerating upwards and lighter when accelerating downwards. In an extreme case in which the elevator accelerates downwards at $\vec{a} = -g \hat{\jmath}$, which corresponds to free fall, the person would not feel any weight.
Now what is the definition of weight?
There is no strict definition for weight or apparent weight. See related discussion: Is there a formal definition for apparent weight? In the context of this example, I called the gravitational force weight which you will find in most textbooks, but as far as I know there is no strict definition for the weight. You should not be worried about the terminology, but rather understand what forces act on an object and then draw your conclusions from there.