How to overcome this ( Transaction has 24 milliseconds difference of event in apm rum js and apm php agent )

i have php agent installed in WordPress docker container and in frontend i have added rum js,

now when my user visits the the shop page or my-account, php agent runs first to create first , my frontend rum js transaction is rapidly ingested into elastic but backend is taking 24 milliseconds - above in @timestamp field and its being ingested very late like after 1 minute in my elastic index.

as you can see below the records and also the trace.id is different ?

what is the disadvantages of having different trace.id for same transaction

Elastic Observability APM rum php