$anotherPet = new \App\Pet;
$anotherPet->fill($data);
$anotherUser = \App\User::create($data); // transaction is made here; mandatory to have an id for your association
$anotherPet->user()->associate($anotherUser); // no transaction
$anotherPet->save(); // transaction is made here