array_map is the solution to your problem.
$source = [
'id' => [1, 2, 3],
'user' => ['first user', 'second user', 'third user'],
];
$result = array_map(function ($id, $user) {
return compact('id', 'user');
}, $source['id'], $source['user']);