There's a variable state_idle which lets you change the idle behavior (what the object does when nobody is lifting it). Copy liftablestate_idle into a new script "liftablestate_idle_with_gravity", and then add some code for the gravity here (and then don't forget to update the liftables you want to have gravity when idle so they use this script for their idle state instead).
For the gravity code, the easiest would be to just check liftable_free(x,y+4) and if free, move down 4 pixels (constant speed instead of using actual gravity). If you want actual gravity, it's probably easiest to copy player_inertia_y's yspeed code and removing the "shockwave when hitting blocks" bit.