Throwing a potion of boost stat at a companion makes it hostile.
Throwing a potion of boost stat at a companion does not harm it and increases its HP but still makes it hostile:
"The greater fire elemental roars in anger! You feel as if transgressing some law. The greater fire elemental seems to grow stronger! The uncursed potion of boost learning shatters!"