What is the US supposed to do? You literally cited two cases, Ukraine and Libya, which are polar opposites. Ukraine the US is criticized for NOT intervening, middle east and Libya US is criticized FOR intervening.
And now we have Myanmar muslim situation and Yemen where people are begging for US intervention, but in all probability if we intervened we would be getting criticized for it by the same people asking us to intervene in a few years