The time frame of allocation on Project A might be more than that on Project B. Check to see if there are Rates defined in the Rate Matrix for the entire duration of Project A, for the "Analyst" role. Or if there is a generic Rate defined for all Roles covering the entirety of the duration of Project A.
Also check if the Rate Matrix Extraction job is running on this system on a regular basis, with "Prepare Rate Matrix Data" and "Update Rate Matrix Data" set to true.