i've never tried growing hosta indoors.
My guess would be that it was dug from outdoors and may have lost roots in the process, also may have been getting nature's signals that summer's over and it's time to go dormant.
I guess you can try in indoors but if it doesn't perk up in a few weeks, place it outside.